"Title search: \"Rowing\" finds all items beginning with \"Rowing...\"\n\
\"Rowing for the hell of it\" finds that book. Punctuation, upper/lower case, and \"the\", \"an\", \"a\" at the start of a title, will be ignored.",
"Author search: \"lastname firstname\" as in, \"king stephen\". Some items have more than one author, or an organization as the author (\"Sierra Club\").",
"Call number: assigned by libraries to cluster works on similar topics. Length roughly indicates depth in the topical hierarchy; e.g., \"Z124\" is about printing, and \"Z124.C\" is about the chronology of printing.",
"ISBN: enter the international standard book number, e.g., \"0-226-13791-0\"",
"ISSN: enter the international standard serial number, e.g., \"0010-9898\" (and include the hyphen)",
"LCCN: enter the library of congress card number (8 digits).",
"OCLC: enter the OCLC, RLIN, or WLN number (8 digits).",
"Reference number: includes CODEN, Original Study #, Standard Film #, Publisher\"s # for Music, Standard Recording #, Standard Technical Report #, Stock #. Use spaces and punctuation.",
0
};
char *CommandC = "TACINLOR";
int queryType = 0;
#define TitleQ 0
#define AuthorQ 1
#define CallQ 2
#define ISBNQ 3
#define ISSNQ 4
#define LCCNQ 5
#define OCLCQ 6
#define RefQ 7
void
setFormat(s) char *s; {
if (!s) return;
if (strcmp(s,"title")==0) queryType = TitleQ; else
if (strcmp(s,"author")==0) queryType = AuthorQ; else
if (strcmp(s,"call #")==0) queryType = CallQ; else